#ifndef _DFS_LFI
#define _DFS_LFI

#include "dfs.h"
#include <string.h>

typedef struct dfs_index {
    char filepath[PATH_MAX];
    char filealias[NAME_MAX];
    int filesize;
    struct dfs_index *next;
}dfs_index;

/* Global Variables */
struct dfs_index *LFIList;

/* Function prototypes */
_PROTOTYPE( int add_to_lfi, (const char *, const char *) 	            			);
_PROTOTYPE( int remove_from_lfi, (const char *)             						);
_PROTOTYPE( int get_entry_from_lfi, (const char *,struct dfs_index *)	  			);
_PROTOTYPE( void ls_lfi, (char *)                                       			);

#endif

